import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import ArcoVue from '@arco-design/web-vue';
import '@arco-design/web-vue/dist/arco.css';

// 单页面, 指的就是这个根页面
const app = createApp(App)

app.use(createPinia())
app.use(router)
// 添加arco designUI组件库
app.use(ArcoVue)

// 注册全局组件
import HelloComponent from './components/HelloComponent.vue'
app.component('HelloComponent', HelloComponent)

app.mount('#app')